package org.geotools.tutorial.quickstart.DataStoreNode;

import javax.swing.tree.DefaultMutableTreeNode;

/**
 * @author
 * @DesktopJavaDocable disable
 */
public class SchemaNodes extends DefaultMutableTreeNode {
	private SchemaType schemaType;
	private String caption;

	public SchemaNodes(Object userobject, SchemaType schemaType, String caption) {
		super((userobject));
		this.schemaType = schemaType;
		this.caption = caption;
	}

	public SchemaType getSchemaType() {
		return schemaType;
	}

	public String toString() {
		return caption;
	}
}
